package com.vehicle_information_management_system.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * 
 * @TableName driver_info
 */
@TableName(value ="driver_info")
@Data
public class DriverInfo {
    /**
     * 
     */
    @TableId(value = "driver_id", type = IdType.AUTO)
    private Integer driverId;

    private String name;
    /**
     * 
     */
    @TableField(value = "gender")
    private Integer gender;

    /**
     * 
     */
    @TableField(value = "age")
    private Integer age;

    /**
     * 
     */
    @TableField(value = "phone")
    private String phone;

    /**
     * 
     */
    @TableField(value = "department_id")
    private Integer departmentId;

    /**
     * 
     */
    @TableField(value = "address")
    private String address;

    /**
     * 
     */
    @TableField(value = "id_number")
    private String idNumber;

    private DepartmentInfo departmentInfo;
}